<?php
/**
 * PHP By Example
 *
 * @copyright 2015 Michel Corne
 * @license   http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
 */

require_once 'models/function_core.php';

/**
 * Function configuration
 *
 * Changes to this class may affect other classes.
 *
 * @see docs/function-configuration.txt
 */

class mcrypt_get_block_size extends function_core
{
    public $constant_prefix = [
        'cipher' => 'MCRYPT',
        'mode'   => 'MCRYPT_MODE',
    ];

    public $examples = [
        [
            'MCRYPT_CAST_256',
            'MCRYPT_MODE_CFB'
        ],
        [
            'des',
            'ecb'
        ],
        [
            'tripledes',
            'ecb',
        ],
    ];

    public $synopsis = 'int mcrypt_get_block_size ( string $cipher , string $mode )';
}
